<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{$seo_title} - {$web_name}</title>
	<Pintuer />
	<Layer />
	<link rel="stylesheet" href="{:__CSS__}/default.css" />
	<script type="text/javascript" src="{:__JS__}/default.js"></script>
</head>
<body>
<!-- Header 开始 -->
<div class="layout margin-small-top">
	<div class="container header-box">
		<div class="line">
			<div class="x2">
				<a href="{:C('MIC_DOMAIN')}">
					<img src="__PUBLIC__/images/logo.png" width="100%" height="80">
				</a>
			</div>
			<div class="x7 index-serarch">
				<form action="{:U('Home/Index/search')}">
					<div class="input-inline clearfix">
						<input type="text" class="input radius-none" name="keywords" size="35" />
						<button class="button radius-none bg-green">
							<i class="icon-search"></i>
							搜 索
						</button>
					</div>
				</form>
			</div>
			<div class="x3">
				<ul class="ul-header-right">
					<li>
						<a href="javascript:alert('请使用快捷键 Ctrl+D 进行收藏本站');">
							<i class="icon-folder-open"></i>
							收藏本站
						</a>
					</li>
					<li>
						<a href="javascript:void(0);" onclick="alert('功能正在开发中...');">
							<i class="icon-heart"></i>
							猜你喜欢
						</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
<div class="layout margin-small-top menu-box">
	<div class="container">
		<div class="line">
			<div class="x9">
				<ul class="menu-list">
					<Menus row="5" order="sort,asc|create_time,asc|id,asc">
						<li>
							<a href="{$menu_info.url}"<if condition="$menu_key eq 1"> class="menu-list-active" </if>>
								{$menu_info.title}
							</a>
						</li>
					</Menus>
				</ul>
			</div>
			<div class="x3">
				<ul class="user-menu-list">
					<?php if (empty($_SESSION['Home']['uid'])): ?>
						<li>
							<a href="javascript:void(0);" class="padding-small-right">
								<i class="icon-user"></i>
								登录/注册
							</a>
							<ul class="user-info-tow">
								<li>
									<a href="javascript:void(0);" onclick="login_box('{:U('Public/login')}');">立即登录</a>
								</li>
								<li>
									<a href="javascript:void(0);" onclick="login_box('{:U('Public/register')}');">注册账号</a>
								</li>
							</ul>
						</li>
					<?php else: ?>
						<li>
							<a href="javascript:GetUrl('{:U('Member/index')}');" class="padding-small-right">
								欢迎你!
								<i class="icon-user"></i>
								{$user_info.nick_name}
							</a>
							<ul class="user-info-tow">
								<li>
									<a href="javascript:GetUrl('{:U('Videos/index')}');">管理视频</a>
								</li>
								<li>
									<a href="javascript:GetUrl('{:U('Videos/add')}');">上传视频</a>
								</li>
								<li>
									<a href="javascript:sendGet('{:U('Public/user_out')}', '是否确认立即退出？');">立即退出</a>
								</li>
							</ul>
						</li>
					<?php endif; ?>
					<li>
						<a href="javascript:void(0);" class="padding-small-right" onclick="alert('功能正在开发中...');">
							<i class="icon-clock-o"></i>
							播放记录
						</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
<!-- Header 结束 -->